﻿using Prism.Regions;
using SmartPlant.Core.Mvvm;

namespace SmartPlant.Core
{
    /// <summary>
    /// <see cref="IRegion"/>标题信息。
    /// </summary>
    public class RegionTitle : SmartViewModel
    {
        private string _title;
        private string _titleGlyph;

        /// <summary>
        /// 当前视图标题栏图标。
        /// </summary>
        public string TitleGlyph
        {
            get { return _titleGlyph; }
            set { SetProperty(ref _titleGlyph, value); }
        }


        /// <summary>
        /// 当前视图标题。
        /// </summary>
        public string TitleText
        {
            get { return _title; }
            set { SetProperty(ref _title, value); }
        }

    }
}
